From: Keir Fraser Date: Thu, 15 Oct 2009 07:30:31 +0000 (+0100) Subject: x86: Remove unused temporay variable 'old_gvec'. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13224 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=89b6b19a224e7718500a00182e0099f45e877896;p=xen.git x86: Remove unused temporay variable 'old_gvec'. Signed-off-by: Xiantao Zhang --- diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/io.c index ffd0055082..4e4c8b9ee0 100644 --- a/xen/drivers/passthrough/io.c +++ b/xen/drivers/passthrough/io.c @@ -187,7 +187,6 @@ int pt_irq_create_bind_vtd( else { uint32_t mask = HVM_IRQ_DPCI_MACH_MSI | HVM_IRQ_DPCI_GUEST_MSI; - uint32_t old_gvec; if ( (hvm_irq_dpci->mirq[pirq].flags & mask) != mask) { @@ -196,7 +195,6 @@ int pt_irq_create_bind_vtd( } /* if pirq is already mapped as vmsi, update the guest data/addr */ - old_gvec = hvm_irq_dpci->mirq[pirq].gmsi.gvec; hvm_irq_dpci->mirq[pirq].gmsi.gvec = pt_irq_bind->u.msi.gvec; hvm_irq_dpci->mirq[pirq].gmsi.gflags = pt_irq_bind->u.msi.gflags; }